package com.ogilvy.audi.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TblCircleUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="TBL_CIRCLE_USER")
//@PrimaryKeyJoinColumn(name="seqid") extends User 
public class CircleUser extends BaseObject{

	// Fields
    //流水
	private Long seqid;
	//官网id
	private Long audiuserid;
	
	private String email;
	private String password;
	
	//桌越会员卡号
	private String userstandoutnum;
	//用户拼音
	private String userpinyin;
	//真实姓名
	private String realName;
	//性名
	private Long gender;
	//会员卡号
	private Long usercardnum;
	//用户性质
	private String userquale;
	//用户级别 1 桌越会员 2 奥迪车主 3 粉丝
	private Long userlevel;
	//用户所在行业
	private String userbusiness;
	//用户公司名
	private String usercompname;
	//用户职位
	private String userjob;
	//年
	private String birthdayy;
	//月
	private String birthdaym;
	//日
	private String birthdayd;
	//手机号
	private String mobile;
	//区号
	private String areanum;
	//电话
	private String phone;
	//分机号
	private String ext;
	//爱好
	private String userinterests;
	//参加过的俱乐部
	private String userclub;
	//用户参加的活动
	private String userjoinactivity;
	//是否有车(1是，0否)
	private String iscar;
	//品牌
	private String brand;
	//其他车辆品牌
	private String brandother;
	//型号
	private String model;
	//其它型号
	private String modelother;
	//vin识别代码
	private String carvinnum;
	//购买时间
	private String buytime;
	//车贺号
	private String footnum;
	//车牌号
	private String carnum;
	//是否接收奥迪信息认阅
	private String isincept;
	//会员状态（1 正常 0 禁用)
	private String availabilityflag;
	//注册时间
	private Date regtime;
	//是否导入(0 是）
	private String standby1;
	//身份证
	private String idcard;
	//用户来源(club)
	private String usertype;
	//不源(驾控汇)
	private String source;
	//最后登录时间
	private Date lastlogintime;
	//sina weibo
	private String blog;
	//从帐号
	private String renren;
	//是否邮箱激活(0 否 1 是）
	private String emailvalid;
	//头像 
	private String avatar;
	//用户状态
	private Long status;
	//个性域名
	private String domain;
	//好友数
	private Long finendNum;
	//粉丝数
	private Long followerNum;
	//关注数
	private Long followingNum;
	//主题
	private String theme;
	//是否在线
	private String userOnline;
	//最后登录ip
	private String lastLoginIp;
	//用户标签
	private String userTag;
	//发起活动数
	private Long activityCount;
	//参加活动数
	private Long joinCount;
	//年纪
	private Long age;
	//星座
	private String constellation;
	//签名
	private String signnature;
	//主题数
	private Long topicNum;
	//相册数
	private Long albumNum;
	//收荐数
	private Long collectNum;
	//评论数
	private Long commentNum;
	//总积分
	private Long scoreNum;
	//vlog 数
	private Long vblogNum;
	//创建圈子数
	private Long groupNum;
	//注册ip
	private String createIp;
	//修改时间
	private Date modifyTime;
	//创建时间
	private Date createTime;

	//用户地址
	private String uaddress;
	//邮篇
	private String postcode;
	
	private String province;
	private String city;
	private Date birthday;
	
	
    private CircleUserExt circleUserExt;
	// Constructors

	/** default constructor */
	public CircleUser() {
	}

	/** minimal constructor */
	public CircleUser(Long audiuserid) {
		this.audiuserid = audiuserid;
	//	this.password = password;
	}

	/** full constructor */
	public CircleUser(Long audiuserid, String userstandoutnum,
                   String userpinyin,
                      String realName, Long gender, Long usercardnum, String userquale,
                      Long userlevel, String userbusiness, String usercompname,
                      String userjob, String province, Long cityId, String city,
                      String uaddress, String postcode, String birthdayy,
                      String birthdaym, String birthdayd, String mobile, String areanum,
                      String phone, String ext, String userinterests, String userclub,
                      String userjoinactivity, String iscar, String brand,
                      String brandother, String model, String modelother,
                      String carvinnum, String buytime, String footnum, String carnum,
                      String isincept, String availabilityflag, Date regtime,
                      String standby1, String idcard, String usertype, String source,
                      Date lastlogintime, String blog, String renren,
                      String emailvalid, Long passwordinfo, String avatar, Long status,
                      String domain, Long finendNum, Long followerNum, Long followingNum,
                      String theme, String userOnline, String lastLoginIp,
                      String userTag, Long activityCount, Long joinCount, Long age,
                      String constellation, String signnature, Long topicNum,
                      Long albumNum, Long collectNum, Long commentNum, Long scoreNum,
                      Long vblogNum, Long groupNum, String createIp, Date modifyTime,
                      Date createTime) {
		this.audiuserid = audiuserid;
		this.userstandoutnum = userstandoutnum;
		

		this.userpinyin = userpinyin;
		this.realName = realName;
		this.gender = gender;
		this.usercardnum = usercardnum;
		this.userquale = userquale;
		this.userlevel = userlevel;
		this.userbusiness = userbusiness;
		this.usercompname = usercompname;
		this.userjob = userjob;

		this.uaddress = uaddress;
		this.postcode = postcode;
		this.birthdayy = birthdayy;
		this.birthdaym = birthdaym;
		this.birthdayd = birthdayd;
		this.mobile = mobile;
		this.areanum = areanum;
		this.phone = phone;
		this.ext = ext;
		this.userinterests = userinterests;
		this.userclub = userclub;
		this.userjoinactivity = userjoinactivity;
		this.iscar = iscar;
		this.brand = brand;
		this.brandother = brandother;
		this.model = model;
		this.modelother = modelother;
		this.carvinnum = carvinnum;
		this.buytime = buytime;
		this.footnum = footnum;
		this.carnum = carnum;
		this.isincept = isincept;
		this.availabilityflag = availabilityflag;
		this.regtime = regtime;
		this.standby1 = standby1;
		this.idcard = idcard;
		this.usertype = usertype;
		this.source = source;
		this.lastlogintime = lastlogintime;
		this.blog = blog;
		this.renren = renren;
		this.emailvalid = emailvalid;

		this.avatar = avatar;
		this.status = status;
		this.domain = domain;
		this.finendNum = finendNum;
		this.followerNum = followerNum;
		this.followingNum = followingNum;
		this.theme = theme;
		this.userOnline = userOnline;
		this.lastLoginIp = lastLoginIp;
		this.userTag = userTag;
		this.activityCount = activityCount;
		this.joinCount = joinCount;
		this.age = age;
		this.constellation = constellation;
		this.signnature = signnature;
		this.topicNum = topicNum;
		this.albumNum = albumNum;
		this.collectNum = collectNum;
		this.commentNum = commentNum;
		this.scoreNum = scoreNum;
		this.vblogNum = vblogNum;
		this.groupNum = groupNum;
		this.createIp = createIp;
		this.modifyTime = modifyTime;
		this.createTime = createTime;
	}

	// Property accessors
    @Id
    @Column(name="seqid")
    //@Transient
    @GeneratedValue(strategy = GenerationType.AUTO)
	public Long getSeqid() {
        //   seqid=this.getId();
		return this.seqid;
	}

	public void setSeqid(Long seqid) {
		this.seqid = seqid;
	}
   @Column
	public Long getAudiuserid() {
		return this.audiuserid;
	}

	public void setAudiuserid(Long audiuserid) {
		this.audiuserid = audiuserid;
	}
   @Column(length = 100)
	public String getUserstandoutnum() {
		return this.userstandoutnum;
	}

	public void setUserstandoutnum(String userstandoutnum) {
		this.userstandoutnum = userstandoutnum;
	}

     @Column(length = 100)
	public String getUserpinyin() {
		return this.userpinyin;
	}

	public void setUserpinyin(String userpinyin) {
		this.userpinyin = userpinyin;
	}
      @Column(length = 100)
	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}
     @Column(length = 50)
	public Long getGender() {
		return this.gender;
	}

	public void setGender(Long gender) {
		this.gender = gender;
	}
      @Column(length = 50)
	public Long getUsercardnum() {
		return this.usercardnum;
	}

	public void setUsercardnum(Long usercardnum) {
		this.usercardnum = usercardnum;
	}
@Column(length = 50)
	public String getUserquale() {
		return this.userquale;
	}

	public void setUserquale(String userquale) {
		this.userquale = userquale;
	}
 @Column(length = 50)
	public Long getUserlevel() {
		return this.userlevel;
	}

	public void setUserlevel(Long userlevel) {
		this.userlevel = userlevel;
	}
  @Column(length = 50)
	public String getUserbusiness() {
		return this.userbusiness;
	}

	public void setUserbusiness(String userbusiness) {
		this.userbusiness = userbusiness;
	}
@Column(length = 50)
	public String getUsercompname() {
		return this.usercompname;
	}

	public void setUsercompname(String usercompname) {
		this.usercompname = usercompname;
	}
@Column(length = 50)
	public String getUserjob() {
		return this.userjob;
	}

	public void setUserjob(String userjob) {
		this.userjob = userjob;
	}

@Column(length = 50)
	public String getBirthdayy() {
		return this.birthdayy;
	}

	public void setBirthdayy(String birthdayy) {
		this.birthdayy = birthdayy;
	}
   @Column(length = 50)
	public String getBirthdaym() {
		return this.birthdaym;
	}

	public void setBirthdaym(String birthdaym) {
		this.birthdaym = birthdaym;
	}
     @Column(length = 50)
	public String getBirthdayd() {
		return this.birthdayd;
	}

	public void setBirthdayd(String birthdayd) {
		this.birthdayd = birthdayd;
	}
   @Column(length = 50)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
@Column(length = 50)
	public String getAreanum() {
		return this.areanum;
	}

	public void setAreanum(String areanum) {
		this.areanum = areanum;
	}
 @Column(length = 50)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
 @Column(length = 50)
	public String getExt() {
		return this.ext;
	}

	public void setExt(String ext) {
		this.ext = ext;
	}
   @Column(length = 50)
	public String getUserinterests() {
		return this.userinterests;
	}

	public void setUserinterests(String userinterests) {
		this.userinterests = userinterests;
	}
 @Column(length = 50)
	public String getUserclub() {
		return this.userclub;
	}

	public void setUserclub(String userclub) {
		this.userclub = userclub;
	}
   @Column(length = 50)
	public String getUserjoinactivity() {
		return this.userjoinactivity;
	}

	public void setUserjoinactivity(String userjoinactivity) {
		this.userjoinactivity = userjoinactivity;
	}
    @Column(length = 50)
	public String getIscar() {
		return this.iscar;
	}

	public void setIscar(String iscar) {
		this.iscar = iscar;
	}
 @Column(length = 50)
	public String getBrand() {
		return this.brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}
  @Column(length = 50)
	public String getBrandother() {
		return this.brandother;
	}

	public void setBrandother(String brandother) {
		this.brandother = brandother;
	}
 @Column(length = 50)
	public String getModel() {
		return this.model;
	}

	public void setModel(String model) {
		this.model = model;
	}
  @Column(length = 50)
	public String getModelother() {
		return this.modelother;
	}

	public void setModelother(String modelother) {
		this.modelother = modelother;
	}
    @Column(length = 50)
	public String getCarvinnum() {
		return this.carvinnum;
	}

	public void setCarvinnum(String carvinnum) {
		this.carvinnum = carvinnum;
	}
@Column(length = 50)
	public String getBuytime() {
		return this.buytime;
	}

	public void setBuytime(String buytime) {
		this.buytime = buytime;
	}
   @Column(length = 50)
	public String getFootnum() {
		return this.footnum;
	}

	public void setFootnum(String footnum) {
		this.footnum = footnum;
	}
     @Column(length = 50)
	public String getCarnum() {
		return this.carnum;
	}

	public void setCarnum(String carnum) {
		this.carnum = carnum;
	}
   @Column(length = 50)
	public String getIsincept() {
		return this.isincept;
	}

	public void setIsincept(String isincept) {
		this.isincept = isincept;
	}
 @Column(length = 50)
	public String getAvailabilityflag() {
		return this.availabilityflag;
	}

	public void setAvailabilityflag(String availabilityflag) {
		this.availabilityflag = availabilityflag;
	}
        @Column(length =8)
	@Temporal(value= TemporalType.TIMESTAMP)
	public Date getRegtime() {
		return this.regtime;
	}

	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}
   @Column(length = 50)
	public String getStandby1() {
		return this.standby1;
	}

	public void setStandby1(String standby1) {
		this.standby1 = standby1;
	}
   @Column(length = 50)
	public String getIdcard() {
		return this.idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
     @Column(length = 50)
	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}
       @Column(length = 50)
	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}
         @Column(length =8)
	@Temporal(value= TemporalType.TIMESTAMP)
    public Date getLastlogintime() {
        return lastlogintime;
    }

    public void setLastlogintime(Date lastlogintime) {
        this.lastlogintime = lastlogintime;
    }
        @Column(length = 50)
    public String getBlog() {
		return this.blog;
	}

	public void setBlog(String blog) {
		this.blog = blog;
	}
         @Column(length = 50)
	public String getRenren() {
		return this.renren;
	}

	public void setRenren(String renren) {
		this.renren = renren;
	}
       @Column(length = 50)
	public String getEmailvalid() {
		return this.emailvalid;
	}

	public void setEmailvalid(String emailvalid) {
		this.emailvalid = emailvalid;
	}

     @Column(length = 50)

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
    @Column(length = 50)
	public Long getStatus() {
		return this.status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}
      @Column(length = 50)
	public String getDomain() {
		return this.domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}
     @Column(length = 50)
	public Long getFinendNum() {
		return this.finendNum;
	}

	public void setFinendNum(Long finendNum) {
		this.finendNum = finendNum;
	}
     @Column(length = 50)
	public Long getFollowerNum() {
		return this.followerNum;
	}

	public void setFollowerNum(Long followerNum) {
		this.followerNum = followerNum;
	}
      @Column(length = 50)
	public Long getFollowingNum() {
		return this.followingNum;
	}

	public void setFollowingNum(Long followingNum) {
		this.followingNum = followingNum;
	}
     @Column(length = 50)
	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}
       @Column(length = 50)
	public String getUserOnline() {
		return this.userOnline;
	}

	public void setUserOnline(String userOnline) {
		this.userOnline = userOnline;
	}
    @Column(length = 50)
	public String getLastLoginIp() {
		return this.lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
    @Column(length = 50)
	public String getUserTag() {
		return this.userTag;
	}

	public void setUserTag(String userTag) {
		this.userTag = userTag;
	}
       @Column(length = 50)
	public Long getActivityCount() {
		return this.activityCount;
	}

	public void setActivityCount(Long activityCount) {
		this.activityCount = activityCount;
	}
     @Column(length = 50)
	public Long getJoinCount() {
		return this.joinCount;
	}

	public void setJoinCount(Long joinCount) {
		this.joinCount = joinCount;
	}
      @Column(length = 50)
	public Long getAge() {
		return this.age;
	}

	public void setAge(Long age) {
		this.age = age;
	}
     @Column(length = 50)
	public String getConstellation() {
		return this.constellation;
	}

	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}
      @Column(length = 50)
	public String getSignnature() {
		return this.signnature;
	}

	public void setSignnature(String signnature) {
		this.signnature = signnature;
	}
    @Column(length = 50)
	public Long getTopicNum() {
		return this.topicNum;
	}

	public void setTopicNum(Long topicNum) {
		this.topicNum = topicNum;
	}
      @Column(length = 50)
	public Long getAlbumNum() {
		return this.albumNum;
	}

	public void setAlbumNum(Long albumNum) {
		this.albumNum = albumNum;
	}
       @Column(length = 50)
	public Long getCollectNum() {
		return this.collectNum;
	}

	public void setCollectNum(Long collectNum) {
		this.collectNum = collectNum;
	}
      @Column(length = 50)
	public Long getCommentNum() {
		return this.commentNum;
	}

	public void setCommentNum(Long commentNum) {
		this.commentNum = commentNum;
	}
    @Column(length = 50)
	public Long getScoreNum() {
		return this.scoreNum;
	}

	public void setScoreNum(Long scoreNum) {
		this.scoreNum = scoreNum;
	}
      @Column(length = 50)
	public Long getVblogNum() {
		return this.vblogNum;
	}

	public void setVblogNum(Long vblogNum) {
		this.vblogNum = vblogNum;
	}
      @Column(length = 50)
	public Long getGroupNum() {
		return this.groupNum;
	}

	public void setGroupNum(Long groupNum) {
		this.groupNum = groupNum;
	}
     @Column(length = 50)
	public String getCreateIp() {
		return this.createIp;
	}

	public void setCreateIp(String createIp) {
		this.createIp = createIp;
	}
   @Column()
	@Temporal(value= TemporalType.TIMESTAMP)
	public Date getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
         @Column()
	@Temporal(value= TemporalType.TIMESTAMP)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	private String name1;
	private String telephone;
	
	@Column(length = 50)
	public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Column(length = 50)
	public String getName1() {
        return name1;
    }

    public void setName1(String name1) {
        this.name1 = name1;
    }

    @OneToOne(mappedBy = "circleUser")
    public CircleUserExt getCircleUserExt() {
        return circleUserExt;
    }

    public void setCircleUserExt(CircleUserExt circleUserExt) {
        this.circleUserExt = circleUserExt;
    }

    @Override
    public String toString() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public boolean equals(Object o) {
        return false;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public int hashCode() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Column(length = 50)
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Column(length = 50)
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Column(length = 50)
    public String getUaddress() {
        return uaddress;
    }

    public void setUaddress(String uaddress) {
        this.uaddress = uaddress;
    }

    @Column(length = 50)
    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    @Column(length = 50)
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Column(length = 50)
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Column()
    @Temporal(value= TemporalType.TIMESTAMP)
    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    
    
}